package wf.dto.geoacr;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
import wf.dto.geoacr.*;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedNativeQueries;
import javax.persistence.NamedNativeQuery;
import wf.dto.georef.pfborzon;

/**
 *
 * @author Rómulo Galindo Tanta
 */
@Entity
@NamedNativeQueries({
    @NamedNativeQuery(
            name = "zongeo.pflisare",
            query = "select * from zongeo.pflisare(:p_ti_zongeo)",
            resultClass = ZongeoDto.class),
    @NamedNativeQuery(
            name = "zongeo.pfnuezon",
            query = "select * from zongeo.pfnuezon(:p_no_zongeo, :p_ti_zongeo,:p_ti_forgeo, :p_no_zondes)",
            resultClass = ZongeoDto.class),
    @NamedNativeQuery(
            name = "zongeo.pfactzon",
            query = "select * from zongeo.pfnuezon(:p_co_zongeo, :p_no_zongeo, :p_no_zondes)",
            resultClass = ZongeoDto.class),
    @NamedNativeQuery(
            name = "zongeo.pfborzon",
            query = "select * from zongeo.pfborzon(:p_co_zongeo)",
            resultClass = pfborzon.class)
})
public class ZongeoDto implements Serializable {

    private int co_zongeo;
    private String no_zongeo;
    private Short ti_zongeo;
    private Short ti_forgeo;
    private String no_zondes;

    public ZongeoDto() {
    }

    @Id
    @Column(name = "co_zongeo")
    public int getCo_zongeo() {
        return co_zongeo;
    }

    public void setCo_zongeo(int co_zongeo) {
        this.co_zongeo = co_zongeo;
    }

    @Column(name = "no_zongeo")
    public String getNo_zongeo() {
        return no_zongeo;
    }

    public void setNo_zongeo(String no_zongeo) {
        this.no_zongeo = no_zongeo;
    }

    @Column(name = "ti_zongeo")
    public Short getTi_zongeo() {
        return ti_zongeo;
    }

    public void setTi_zongeo(Short ti_zongeo) {
        this.ti_zongeo = ti_zongeo;
    }

    @Column(name = "ti_forgeo")
    public Short getTi_forgeo() {
        return ti_forgeo;
    }

    public void setTi_forgeo(Short ti_forgeo) {
        this.ti_forgeo = ti_forgeo;
    }

    @Column(name = "no_zondes")
    public String getNo_zondes() {
        return no_zondes;
    }

    public void setNo_zondes(String no_zondes) {
        this.no_zondes = no_zondes;
    }
}
